package com.punch.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.punch.common.vo.order.ClassSettlementPageVO;
import com.punch.order.model.CourseSettlementDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 课程结算详情表 Mapper 接口
 * </p>
 *
 * @author wjj
 * @since 2020-09-27
 */
@Mapper
public interface CourseSettlementDetailMapper extends BaseMapper<CourseSettlementDetail> {
    /**
     * 统计条数
     *
     * @param params 查询条件
     * @return int
     */
    Integer queryCount(Map<String, Object> params);


    /**
     * 教具结算列表
     *
     * @param params 查询条件
     * @return OrderAppPageVO
     */
    List<ClassSettlementPageVO> queryList(Map<String, Object> params);
}
